package com.iocup.keybastion.core.matching;


import com.iocup.keybastion.context.WebContextHolder;

@FunctionalInterface
public interface Matcher {

    /**
     * 检查上下文是否匹配
     *
     * @param webContextHolder
     * @return
     */
    boolean matches(WebContextHolder webContextHolder);


    default String getType() {
        return this.getClass().getSimpleName();
    }


}
